export function getEleAttr(el, attr) {
    return parseInt(window.getComputedStyle(el)[attr])
}